package by.grsu.crs.dao;

import java.sql.SQLException;
import java.util.List;

import by.grsu.crs.model.Payment;

public interface PaymentDao {

	public boolean addPayment(Payment payment) throws SQLException;

	public List<Payment> getAllPayments() throws SQLException;

	public Payment getPaymentById(int id) throws SQLException;

	public boolean deletePaymentByID(int id) throws SQLException;

	public boolean updatePaymentById(int id, Payment payment)
			throws SQLException;

}